package com.jms.product.constant;

/**
 * 用户注册类型枚举
 * @author Jamison
 * @version 1.0
 * @date 2021/6/14 15:38
 */
public enum RegisterSourceEnum {

    PHONE(1, "手机号"),
    EMAIL(2, "邮箱"),
    USERNAME(3, "用户名"),
    QQ(4, "QQ"),
    WECHAT(5, "微信"),
    TENCENT_WEIBO(6, "腾讯微博"),
    SINA_WEIBO(7, "新浪微博");

    private Integer type;
    private String msg;

    RegisterSourceEnum(Integer type, String msg) {
        this.type = type;
        this.msg = msg;
    }

    public int getType() {
        return type;
    }

    public String getMsg() {
        return msg;
    }
}
